/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jeff.studyclient.util;

import java.util.Locale;

/**
 *
 * @author zhou.zhefu
 */
public class LocaleUtil {
    final public static Locale locale;
	final public static String ISO_CODE;

	static {
		//locale = Locale.getDefault();
		locale = Locale.US;	//we only support English for now
		ISO_CODE = locale.getLanguage() + "_" + locale.getCountry();
	}

	public static Locale getLocale() {
		return locale;
	}

	public static boolean isEN() {
		return locale.getLanguage().equals(Locale.ENGLISH.getLanguage());
	}

	public static String getLocaleISO() {
		return ISO_CODE;
	}
}
